package com.zh.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.zh.common.BaseModel;

public class User extends BaseModel {
	//姓名
	private String name;
//	注册时间
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date rtime;
	
	
	
	//密码
	private String password;
//	电话号码
	private String phone;
//	身份证号码
	private String idcard;
//	地址
	private String addr;
	//状态  0：删除；1：启用
	private Integer status;
	
	
	
	/*扩展的字段-=============*/
	
	
	
	private String statusName;
	
	/*开始的记录数*/
	private Integer startRow;
	
	/*一页显示的记录条数*/
	private Integer pageCount;
	
	
	
	
	
	
	public Integer getStartRow() {
		return startRow;
	}
	public void setStartRow(Integer startRow) {
		this.startRow = startRow;
	}
	public Integer getPageCount() {
		return pageCount;
	}
	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public Date getRtime() {
		return rtime;
	}
	public void setRtime(Date rtime) {
		this.rtime = rtime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "User [name=" + name + ", password=" + password + ", phone=" + phone + ", idcard=" + idcard + ", addr="
				+ addr + ", status=" + status + "]";
	}
	
	
	
	
	
	
}
